//
//  BTBManager.swift
//  BlueToothBackground
//
//  Created by macvivi on 2021/11/8.
//

import UIKit
import CoreBluetooth

class BTBManager: NSObject {

    static let shared = BTBManager()
    
    var peripheral: CBPeripheral!
    
    var characteristic:CBCharacteristic {
        XYCentralManager.shared.getCharacteristicWithStr(peripheral: BTBManager.shared.peripheral, str: "FFA1")!
    }
}
